package com.example.easybuy.pojo;

import java.util.Date;

public class Phone {

    //手机id
    private int id;
    //充值订单号
    private String orderNum;
    //手机号
    private String phoneNum;
    //话费余额
    private float surplus;
    //创建时间
    private String createtime;
    //充值金额
    private float recharge;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public float getSurplus() {
        return surplus;
    }

    public void setSurplus(float surplus) {
        this.surplus = surplus;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public float getRecharge() {
        return recharge;
    }

    public void setRecharge(float recharge) {
        this.recharge = recharge;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "id=" + id +
                ", orderNum='" + orderNum + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", surplus=" + surplus +
                ", createtime='" + createtime + '\'' +
                ", recharge=" + recharge +
                '}';
    }
}
